import instance from '@/utils/request';

export function ShowLargeScreen(data) {
    return instance.request({
        url: "/api/IotInfo/GetLargeScreen",
        method: "post",
        data
    })
}

export function GetTotaocount() {
    return instance.request({
        url: "/api/iotInfo/GetLargeScreenCount",
        method: "get",
    })
}

export function deleteLargeScreen(data) {
    return instance.request({
        url: "/api/iotInfo/DeleteLargeScreen",
        method: "delete",
        data
    })
}

export function PostAddLargeScreen(data) {
    return instance.request({
        url: "/api/iotInfo/PostLargeScreen",
        method: "post",
        data
    })
}

export function GetLargeScreen(data) {
    return instance.request({
        url: "/api/iotInfo/GetLargeScreenById",
        method: "post",
        data
    })
}

export function UpdateLargeScreen(data) {
    return instance.request({
        url: "/api/iotInfo/PutLargeScreen",
        method: "put",
        data
    })
}

export function StationLargeScreen(data) {
    return instance.request({
        url: "/api/iotInfo/PutLargeScreenStation",
        method: "put",
        data
    })
}

export function StopLargeScreen(data) {
    return instance.request({
        url: "/api/iotInfo/PutLargeScreenStop",
        method: "put",
        data
    })
}